﻿using Microsoft.AspNetCore.Mvc;
using ZhCun.DBModel;
using ZhCun.RightsManage.BLL;
using ZhCun.RightsManage.DBModel;
using ZhCun.Utils;
using ZhCun.WebUtils;

namespace ZhCun.RightsManage.ApiControllers
{
    public class ApiMenuController : BaseApiCrudController<MenuBLL, Menu_ListArg, Sys_Menu>
    {
        /// <summary>
        /// 更新菜单排序
        /// </summary>
        [HttpPost]
        public ApiResult UpdateOrder(Menu_UpdateOrderArg arg)
        {
            return BLLObj.UpdateOrder(arg);
        }
    }
}